<include file="public:header" />
<include file="public:left" />
<div>
    <form method="post" action="#">
        <div class="list-div">
            <input type="text" class="form-control "  placeholder="ID查询" name="id"  value="{$select.id}"   >
        </div>
        <div class="list-div">
            <button type="submit" class="btn btn-primary rows_display">查询</button>
        </div>
        <div class="clear"></div>
    </form>
	<a class="btn btn-primary" href="/Admin/{$class}/addView.html">添加</a>
    <br>
    <br>
    <table id="sample-table-1" class="table table-striped table-bordered table-hover wrfont14">
        <thead>
        <tr>
            <th>ID</th>
            <th width="200px">操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="list" id="val">
            <tr>
                <td>{$val.id}</td>
                <td>
					<a href="{:U($class.'/info?id='.$val['id'])}" class="btn btn-primary btn-sm ">查看</a>
                    <a href="{:U($class.'/editorView?id='.$val['id'])}" class="btn btn-warning btn-sm ">编辑</a>
                    <a href="{:U($class.'/delete?id='.$val['id'])}" class="btn btn-danger btn-sm ">删除</a>
                    
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<div class="tk_content_page" style="width:100%">{$page}</div>
<include file="public:footer" />